package com.changgou.service;

import com.changgou.annotation.adminOnly;
import com.changgou.aspect.CheckEAspect;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TestAdminService {


    @adminOnly
    public void insert () {
        System.out.println("添加成果！");
    }

    public void update () {
        System.out.println("修改成功！");
    }

    public void del () {
        System.out.println("删除成功！");
    }
}
